package com.googlecode.properlyidle.authentication;

import com.googlecode.totallylazy.Either;
import com.googlecode.properlyidle.authorisation.users.Username;
import com.googlecode.properlyidle.authorisation.users.Password;

public interface Authenticator {
    Either<AuthenticationToken, AuthenticationException> authenticate(Username username, Password password);
}
